home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
076-100
/
scopedisk83
/
beep103
/
beep103.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
1KB
|
63 lines
Beep - Assembly language beep program.
Version - 1.03
Copyright - Copyright (c) by David Jenkins, 26 Jan 1989,
I can be reached at Bloom Beacon 416-283-5924.
This program may be distributed freely, but please keep the
documentation with the load module.
Program description
~~~~~~~~~~~~~~~~~~~
This is a simple beep program; when executed it uses the Amiga
audio device to produce a beep. Any available audio channel will be
allocated.
Beep accepts two parameters: the first is the period of the tone
and the second is the duration. The range for each parameter is 1 to 9.
A period of 1 produces a high note, and 9 produces a low note.
A duration of 1 produces a short beep and 9 a long beep.
Examples:
~~~~~~~~~
Beep
Default period and duration
Beep 1 9
High note, long duration.
Beep 9 1
Low note, short duration.
Making beep resident.
~~~~~~~~~~~~~~~~~~~~
Beep is pure code and can, therefore, safely be made resident
either with the Amigados 'resident' command or a command such as 'resi' in
WShell by William S Hawes.
Using WShell, it is possible to include Beep in the prompt.
For example:
prompt "%2%c%g%1%[beep103 5 4]"
Notice the quotes; they are needed if CLI parameters are included between
the brackets.
David Jenkins.